package com.kh.samr.entity.jq_project;

import com.kh.samr.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 杰青担任省部级项目信息
 *
 * @author Harry
 * @date 2021/1/6
 */
@ApiModel(description = "杰青担任省部级项目信息")
@Table(name = "jq_participate_project")
@EqualsAndHashCode(callSuper = true)
@Entity(name = "jq_participate_project")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParticipateProject extends BaseEntity {
	
	private static final long serialVersionUID = 1861611744102053944L;
	
	/**
	 * 项目编号
	 */
	@ApiModelProperty(value = "项目编号", readOnly = true)
	@Column(length = 100, nullable = false)
	private String originalId;
	
	/**
	 * 项目来源
	 */
	@ApiModelProperty(value = "项目来源", readOnly = true)
	@Column(length = 100, nullable = false)
	private String projectSource;
	
	/**
	 * 项目名称
	 */
	@ApiModelProperty(value = "项目名称", readOnly = true)
	@Column(length = 100, nullable = false)
	private String projectNameCN;
	
	/**
	 * 起止年月
	 */
	@ApiModelProperty(value = "起止年月", readOnly = true)
	@Column(length = 100, nullable = false)
	private String startingFinishDate;
	
	/**
	 * 项目角色
	 */
	@ApiModelProperty(value = "项目角色", readOnly = true)
	@Column(length = 100, nullable = false)
	private String projectRole;
	
	/**
	 * 资助经费（万元）
	 */
	@ApiModelProperty(value = "资助经费（万元）", readOnly = true)
	@Column(precision = 18, scale = 5)
	private BigDecimal funds;
	
	/**
	 * 项目状态
	 */
	@ApiModelProperty(value = "项目状态", readOnly = true)
	@Column(length = 100, nullable = false)
	private String projectStatus;
}
